<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>小米商城</title>
        <link rel="stylesheet" type="text/css" href="/style/home/css/style.css">
         <script src="/js/jquery-1.8.3.min.js"></script>
    </head>
    <body>
        <!-- start header -->
        <header>
            <div class="top center">
                <div class="left fl">
                    <ul>
                        <li><a href="http://www.mi.com/" target="_blank">小米商城</a></li>
                        <li>|</li>
                        <li><a href="">MIUI</a></li>
                        <li>|</li>
                        <li><a href="">米聊</a></li>
                        <li>|</li>
                        <li><a href="">游戏</a></li>
                        <li>|</li>
                        <li><a href="">多看阅读</a></li>
                        <li>|</li>
                        <li><a href="">云服务</a></li>
                        <li>|</li>
                        <li><a href="">金融</a></li>
                        <li>|</li>
                        <li><a href="">小米商城移动版</a></li>
                        <li>|</li>
                        <li><a href="">问题反馈</a></li>
                        <li>|</li>
                        <li><a href="">Select Region</a></li>
                        <div class="clear"></div>
                    </ul>
                </div>
                <div class="right fr">
                    <div class="gouwuche fr"><a href="/home/cart">购物车</a></div>
                    <div class="fr">
                        @if(Session::get('home_user'))
                        欢迎您！{{Session::get('home_user')}}
                        @else
                        <ul>
                            <li><a href="/home/login" target="_blank">登录</a></li>
                            <li>|</li>
                            <li><a href="/home/register" target="_blank">注册</a></li>	
                        </ul>
                        @endif 
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
            </div>
        </header>
        <!--end header -->

        <!-- start banner_x -->
        <div class="banner_x center">
            <a href="/home/index" target="_blank"><div class="logo fl"></div></a>
            <a href=""><div class="ad_top fl"></div></a>
            <div class="nav fl">
                <ul>
                    @foreach($data as $value)
                    <li><a href="/home/list/{{$value->id}}">{{$value->name}}</a></li>
                    @endforeach  
                </ul>
            </div>
            <div class="search fr">
                <form action="" method="post">
                    <div class="text fl">
                        <input type="text" class="shuru"  placeholder="小米6&nbsp;小米MIX现货">
                    </div>
                    <div class="submit fl">
                        <input type="submit" class="sousuo" value="搜索"/>
                    </div>
                    <div class="clear"></div>
                </form>
                <div class="clear"></div>
            </div>
        </div>
        <!-- end banner_x --> 